import request from '@/utils/request'
export function getUserPage(query) {
  return request({
    url: '/user/page',
    method: 'post',
    data: query
  })
}
export function addUser(name) {
  return request({
    url: `/user/add`,
    method: 'post'
  })
}
export function resetPassword(data) {
  return request({
    url: '/user/pwd/reset',
    method: 'post',
    data: data
  })
}
